Delete cases example#248562
Merged
lcawl merged 8 commits intoelastic:mainfrom Jan 15, 2026
Merged
Conversation
Contributor
|
Pinging @elastic/kibana-cases (Feature:Cases) |
nastasha-solomon
approved these changes
Jan 12, 2026
janmonschke
approved these changes
Jan 15, 2026
Contributor
janmonschke
left a comment
There was a problem hiding this comment.
Thanks for fixing this @lcawl 🎉
Contributor
|
Starting backport for target branches: 8.19, 9.2, 9.3 https://github.com/elastic/kibana/actions/runs/21040841794 |
Contributor
💛 Build succeeded, but was flaky
Failed CI StepsTest Failures
Metrics [docs]
History
|
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Jan 15, 2026
(cherry picked from commit 0758c3b)
kibanamachine
pushed a commit
to kibanamachine/kibana
that referenced
this pull request
Jan 15, 2026
(cherry picked from commit 0758c3b)
Contributor
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
kibanamachine
added a commit
that referenced
this pull request
Jan 15, 2026
# Backport This will backport the following commits from `main` to `9.2`: - [Delete cases example (#248562)](#248562) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Lisa Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2026-01-15T17:47:17Z","message":"Delete cases example (#248562)","sha":"0758c3bdf1c7398becb2cf8e110c5b00cf4e11c6","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","docs","Feature:Cases","backport:version","v9.3.0","v9.4.0","v8.19.10","v9.2.5"],"title":"Delete cases example","number":248562,"url":"https://github.com/elastic/kibana/pull/248562","mergeCommit":{"message":"Delete cases example (#248562)","sha":"0758c3bdf1c7398becb2cf8e110c5b00cf4e11c6"}},"sourceBranch":"main","suggestedTargetBranches":["9.3","8.19","9.2"],"targetPullRequestStates":[{"branch":"9.3","label":"v9.3.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/248562","number":248562,"mergeCommit":{"message":"Delete cases example (#248562)","sha":"0758c3bdf1c7398becb2cf8e110c5b00cf4e11c6"}},{"branch":"8.19","label":"v8.19.10","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.2","label":"v9.2.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Lisa Cawley <lcawley@elastic.co>
Contributor
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
kibanamachine
added a commit
that referenced
this pull request
Jan 19, 2026
# Backport This will backport the following commits from `main` to `9.3`: - [Delete cases example (#248562)](#248562) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Lisa Cawley","email":"lcawley@elastic.co"},"sourceCommit":{"committedDate":"2026-01-15T17:47:17Z","message":"Delete cases example (#248562)","sha":"0758c3bdf1c7398becb2cf8e110c5b00cf4e11c6","branchLabelMapping":{"^v9.4.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","docs","Feature:Cases","backport:version","v9.3.0","v9.4.0","v8.19.10","v9.2.5"],"title":"Delete cases example","number":248562,"url":"https://github.com/elastic/kibana/pull/248562","mergeCommit":{"message":"Delete cases example (#248562)","sha":"0758c3bdf1c7398becb2cf8e110c5b00cf4e11c6"}},"sourceBranch":"main","suggestedTargetBranches":["9.3","8.19","9.2"],"targetPullRequestStates":[{"branch":"9.3","label":"v9.3.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.4.0","branchLabelMappingKey":"^v9.4.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/248562","number":248562,"mergeCommit":{"message":"Delete cases example (#248562)","sha":"0758c3bdf1c7398becb2cf8e110c5b00cf4e11c6"}},{"branch":"8.19","label":"v8.19.10","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"9.2","label":"v9.2.5","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"}]}] BACKPORT--> Co-authored-by: Lisa Cawley <lcawley@elastic.co>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Relates to #244878
The curl example in https://www.elastic.co/docs/api/doc/kibana/operation/operation-deletecasedefaultspace is invalid:
In curl, the query parameter value must have URL-encoded square brackets and quotes.
This PR overrides the automatically-generated curl example with a custom code sample. It also adds some examples to the description so it's clearer how the query parameter syntax varies in curl and Console.
I've also fixed the following linting errors in the case APIs:
Screenshots
The updated description and examples look like this in a Bump.sh preview:
Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
- [ ] Documentation was added for features that require explanation or tutorials- [ ] Unit or functional tests were updated or added to match the most common scenarios- [ ] If a plugin configuration key changed, check if it needs to be allowlisted in the cloud and added to the docker list- [ ] This was checked for breaking HTTP API changes, and any breaking changes have been approved by the breaking-change committee. Therelease_note:breakinglabel should be applied in these situations.- [ ] Flaky Test Runner was used on any tests changedrelease_note:*label is applied per the guidelinesbackport:*labels.Identify risks
N/A
Describe the risk, its severity, and mitigation for each identified risk. Invite stakeholders and evaluate how to proceed before merging.